#include <iostream>

#include "utils/CHelperConfigure.h"
#include "utils/glog_adapter.h"

int main(int argc, char *argv[]) {

    chelper::utils::GlogInit(argv[0]);
    
    LOG(INFO) << "This is INFO message.";
    LOG(WARNING) << "This is WARNING message.";
    LOG(ERROR) << "This is ERROR message.";

    std::cout << "This is CHelper: https://gitee.com/wwj448/chelper" << std::endl;
    std::cout << "Version: " << CHelper_VERSION_MAJOR << "." << CHelper_VERSION_MINOR << std::endl;

    chelper::utils::GlogShutDown();

    return 0;
}
